/**
 * Created by Administrator on 2017/10/17.
 */
var mongoose = require('mongoose');
var materializedPlugin = require('mongoose-materialized');

var schema = new mongoose.Schema({
    title:String,
    type:Number //1.新闻 2上传 3产品
});
schema.plugin(materializedPlugin);
var Cate = mongoose.model('Cate', schema,'cate');
module.exports = Cate;


